<!DOCTYPE html>
<html>
<#include "../head.html">
<body class="full">
<table class="mc">
    <tr>
        <td class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                <!--管理员信息---}-->
                <div class="nav-wrap">
                    <#include "left.html">
                </div>
            </div>
            <!--左侧导航---}-->
        </td>
        <td class="mc-m">
            <div class="navToggle"></div>
        </td>
        <td class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
            <!--顶部导航---}-->

            <!--面包屑导航---{-->
            <#assign moduleName="认证用户">
            <#include "banner.html">
            <!--面包屑导航---}-->

            <!--工具栏--{-->
            <div id="toolbar" class="clearfix">
            
                <div class="toolbor-module search">
                    <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                </div>
            
                 
				<div class="toolbor-module search" id="auth">
                    <label><input id="realStatus" type="checkbox" value="1" />&nbsp;实名认证</label>
                    <label><input id="emailStatus" type="checkbox" value="1" />&nbsp;邮箱认证</label>
                    <label><input id="phoneStatus" type="checkbox" value="1" />&nbsp;手机认证</label>
                </div>
				
				 <div class="toolbor-module search">
                 <div                                          <#import "../../common/page.html" as pager>
>用户名：</div>
                    <input type="text" name="username" id="username" value="请输入用户名" class="search-value">
                </div>
                
                <div class="toolbor-module search">
                 <div                                          <#import "../../common/page.html" as pager>
>真实姓名：</div>
                     <input type="text" name="realname" id="realname" value="请输入真实姓名" class="search-value">
                </div>
                    
            </div>
            <!--工具栏--}-->

            <div id="main" class="clearfix">
                <form action="" method="post">
                    <table class="data-list">
                        <tr class="header">
                            <td>ID</td>
                            <td>用户名</td>
                            <td>真实姓名</td>
                            <td>邮箱认证</td>
                            <td>手机认证</td>
                            <td>实名认证</td>
                            <td>总投资</td>
                            <td>平均每笔投资</td>
                        </tr>
                       
                            <#list list as item>
                                <tr class="s">
                                    <td>${item[0]}</td>
                                    <td>${item[1]}</td>
                                   	<td>${item[2]}</td>
                                    <td><#if item[3]?? && item[3]=1><font color="green">认证</font><#else><font color="red">未认证</font></#if></td>
                                    <td><#if item[4]?? && item[4]=1><font color="green">认证</font><#else><font color="red">未认证</font></#if></td>
                                   	<td><#if item[5]?? && item[5]=1><font color="green">认证</font><#else><font color="red">未认证</font></#if></td>
                                    <td>${item[6]}</td>
                                    <td>${item[7]}</td>
                                   
                                </tr>
                            </#list>
                    </table>
                </form>

                <!--底部工具栏--{-->
                <div id="bottomToolbar" class="clearfix">
                    <div class="other-tool">
                        <dl class="refresh-data">
                            <dt class="refresh-data-icon"></dt>
                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                        </dl>
                    </div>

                    <!--翻页系统--{-->
                    <div class="container s_formPage">
                        <#import "../../common/page.html" as pager>
                             <@pager.pagination page=page url="/admin/operate/authUser.html" map=params style="style1" />
                    </div>
                    <!--翻页系统--}-->
                </div>
                <!--底部工具栏--}-->

                <script>
                    var urls = 'authUser.html?search=true';
                    function sousuo(){
                        var sou = "";
                        var username = $("#username").val();
    					if (username!=""&&username!="请输入用户名"){
    						sou += "&username="+username;
    					}
    					var realname = $("#realname").val();
    					if(realname!=""&&realname!="请输入真实姓名"){
    						sou += "&realname="+realname;
    					}
                     
                        var realStatus = $("#realStatus:checked").val();
                        if(realStatus!=null&&realStatus!=''){
                        	sou += "&realStatus="+realStatus;
                        }
                        var emailStatus = $("#emailStatus:checked").val();
                        if(emailStatus!=null&&emailStatus!=''){
                        	sou += "&emailStatus="+emailStatus;
                        }
                        var phoneStatus = $("#phoneStatus:checked").val();
                        if(phoneStatus!=null&&phoneStatus!=''){
                        	sou += "&phoneStatus="+phoneStatus;
                        }
                        var url=urls+sou
                        location.href=url;
                    }
                </script>
            </div>

        </td>
    </tr>
    <tr>
        <!--尾部--{-->
        <td colspan="3" class="mc-b"><#include "../foot.html"></td>
        <!--尾部--}-->
    </tr>
</table>
</body>
</html>
<#include "../jsPage.html">
